package com.wgts.wgts.mvp.model.imp;

import com.wgts.wgts.mvp.model.IMyExtensionFansFragmentModel;
import com.wgts.wgts.netmodle.HttpResultSubscriber;
import com.wgts.wgts.netmodle.NetService;
import com.wgts.wgts.netmodle.req.FansSumReq;
import com.wgts.wgts.netmodle.req.ShopKeepFansReq;
import com.wgts.wgts.netmodle.resp.FansSumEntity;
import com.wgts.wgts.netmodle.resp.ShopKeepFansEntity;

public class MyExtensionFansFragmentModel implements IMyExtensionFansFragmentModel{

    private NetService netService;

    public MyExtensionFansFragmentModel(NetService netService) {
        this.netService = netService;
    }

    @Override
    public void initFans(ShopKeepFansReq req, HttpResultSubscriber<ShopKeepFansEntity> subscriber) {
        netService.shopKeepFans(req, subscriber);
    }

    @Override
    public void fansSummy(FansSumReq req, HttpResultSubscriber<FansSumEntity> subscriber) {
        netService.fansSum(req, subscriber);
    }
}
